package com.proxy.proxyClass.impl;

import com.proxy.proxyClass.Star;

public class BigStar implements Star {
    private String name;

    public BigStar(String name) {
        this.name = name;
    }

//    跳舞
    public String dance(){
        System.out.println(this.name+"在跳舞");
        return "谢谢";
    }

//    唱歌
    public void sing(){
        System.out.println(this.name+"在唱歌");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
